package com.zx.gulimall.member.feign;

import com.zx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author zx
 * @Date 2021/7/26 18:00
 * @Version 1.0
 */
//选择调用的服务在nacos中的服务名
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    //选择该请求的完整路径
    @RequestMapping("coupon/coupon/member/list")
    public R membercoupons();
}
